package com.bluenode.bounce;

import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main); // layout isa viewgroup isa view
        //TextView v = (TextView)findViewById(R.id.textView1);
        //v.setText("created");
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
 
    public void doStart(View view){
    	Intent intent = new Intent(this, BounceActivity.class);
    	startActivity(intent);
    }
    
    public void doCube(View view){
    	Intent intent = new Intent(this, CubeActivity.class);
    	startActivity(intent);
    }
}
